import { IsNotEmpty, IsString, IsInt, IsDate } from 'class-validator';

export class CreateGroupDto {
  @IsNotEmpty()
  id: number;

  @IsNotEmpty()
  @IsString()
  name: string;

  @IsNotEmpty()
  @IsInt()
  createBy: number;

  @IsNotEmpty()
  @IsDate()
  createTime: Date;

  @IsNotEmpty()
  @IsInt()
  updateBy: number;

  @IsNotEmpty()
  @IsDate()
  updateTime: Date;

  @IsNotEmpty()
  @IsInt()
  fkStageId: number;
}
